package com.zp.business.entity.outpFees.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 门诊收费支付类型方式业务对象
 *
 * @author zhang peng
 * @ date 2024-04-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OutpFeesPaymentsMoneyBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = {AddGroup.class, EditGroup.class})
    private String outpFeesPaymentsId;

    /**
     * 门诊收费主记录id
     */
    private String outpFeesMasterId;

    /**
     * 收费号
     */
    @NotBlank(message = "收费号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String feesNo;

    /**
     * 金额类型
     */
    @NotBlank(message = "金额类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String moneyType;

    /**
     * 实收金额
     */
    @NotNull(message = "实收金额不能为空", groups = {AddGroup.class, EditGroup.class})
    private BigDecimal charges;

    /**
     * 机构ID
     */
    @NotBlank(message = "机构ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String orgId;

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 流水号
     */
    private String serialNo;


}
